<?php
    $template_url = func_request('url');
    $template_url = urlencode($template_url);
    $template_qq = func_request('qq');
    $template_time = date('Y/m/d H:i:s');
    $template_img = func_getQQLogo($template_qq);
    $template_nick = func_getQQNick($template_qq);
    if(strlen($template_url) < 5) {
        func_response('跳转地址不符合');
    }
    if (strlen($template_qq) < 5) {
        func_response('QQ号不符合');
    }
	
    $content = "<noscript>".func_randText()."</noscript><div style=\"background:#f7f7f7;overflow:hidden\"><div style=\"background:#fff;border:1px solid #ccc;margin:2%;padding:0 30px\"><div style=\"height:20px\"></div><div style=\"margin: 0px auto;padding: 5px;width: 75px;\"><img src=\"{$template_img}\" style=\"border-radius: 195px;\"width=\"75px\"></div><div style=\"text-align: center; line-height: 30px; height: 30px;\"><span style=\"font-weight: bold;\"></span></div><div style=\"text-align: center; line-height: 30px; height: 30px;\"><span style=\"font-weight: bold;\">尊敬的用户【{$template_nick}】你好</span></div><div style=\"text-align: center; line-height: 30px; height: 30px;\"><span style=\"font-weight: bold;\">您已通过验证审核</span></div><div style=\"text-align: center; line-height: 30px; height: 30px;\"><span style=\"font-weight: bold;\">点击下方即可加入</span></div><div style=\"text-align: center; \"><a href=\"{$template_url}\"style=\"display: inline-block;width: 150px;background-color: orange;height: 50px;line-height: 50px;text-align: center;color: #fff;text-decoration: none;font-size: 20px;font-weight: bold;margin-top: 20px;\"rel=\"noopener\"target=\"_blank\">点击进入</a></div><p style=\"text-align: right; margin: 0px; padding: 0px; line-height: 30px; font-size: 14px; color: rgb(51, 51, 51); font-family: 宋体, arial, sans-serif;\">".func_randText()."</p><p style=\"text-align: right; margin: 0px; padding: 0px; line-height: 30px; font-size: 14px; color: rgb(51, 51, 51); font-family: 宋体, arial, sans-serif;\">{$template_time}</p><div style=\"border-top: 1px dashed #dfdfdf;height:20px\"></div></div></div>";

?>